package work.month06.day28;

import java.io.File;

/**
 * @date 2020/06/28
 * @author 王光浩
 * @introduction 将文件 从 UTF-8 装换到 GBK 
 */
public class Test2 {

	public static void main(String[] args) {
		File originFile = new File("D:/wang.txt");
		File destFile = new File("D:/guang.txt");
		FileEncodingConvertor instance = FileEncodingConvertor.getInstance();
		instance.toGBK(originFile, destFile);
	}
	
}
